package com.lzh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 医院科室实体类
 */
@TableName("tb_hospital_department")
@Data
public class HospitalDepartment implements Serializable {


    @TableId(type = IdType.AUTO)
    private Integer id;//主键
    private String name;//科室名称
    private Integer pid;//父级id 如果是0是 说明是一级科室
    private Integer hospitalId;//这个科室所在医院的id
    private String introduce;//科室介绍

    @TableLogic(value = "1",delval = "0")
    private Integer isDelete;



}
